<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport"
	content="width=device-width initial-scale=1.0  maximum-scale=1.0">
<link href="${ctxStatic}/jquery-mobile/css/jquery.mobile-1.3.1.min.css" type="text/css" rel="stylesheet" />
<title>登录</title>
<%@ include file="/static/member/themes/ShiShangHong/header.jsp" %>
</head>
<body>
	<%@ include file="./header.jsp" %>
<div class="main">
<c:if test="${not empty message  }">
						<span class="alert" >${message}</span>
</c:if>
    <form method="post" action="${ctx}/member/login" onsubmit="return checkform();">
    	<input type="hidden" name="action" value="reg" /> 
		<input type="hidden" name="uid" value="${uid }" /> 
		<input	type="hidden" name="topage" value="${topage }" />
		<input	type="hidden" name="wechatId" value="${wechatId }" />
		<input	type="hidden" name="login" value="1" />
		<input	type="hidden" name="style" value="${style}"/>
    	<div class="p_mod o_address">
    		<h2 class="p_mod_title">登陆</h2>
            <div id="city">
    		<ul>
   			  <li><strong>帐号：</strong><input placeholder="请输入手机号" id="username"  name="mobile" type="text"  maxlength="15"   style="width:130px;" type="tel"/>
    			</li>
    			<li><strong>密码：</strong><input placeholder="请输入密码" id="userpass" name="pwd" type="password" 	maxlength="15"  /></li>
    		</ul>
            </div>
    	</div>
    	<div class="o_btn clearfix">
    		<input class="o_btn_back ts1" value="登陆" style="margin-bottom:10px;" type="submit">
    		<input class="o_btn_submit ts1" onclick="window.open('${ctx}/member/reg?uid=${uid }&wechatId=${wechatId }&topage=${topage }')" value="注册" type="button">
    	</div>
    </form>
	
</div>
<script type="text/javascript">
function checkform() {
    if ($('#username').val() == '' || $('#userpass').val() == '' ) {
        alert('请填写完所有项！');
        return false;
    }   
}
</script>
</body>


</html>